# -*- coding: utf-8 -*-
'''
Created on 2020/1/5 11:52 
author:dyx
IDE:PyCharm 
'''
class Calculator:
    name = 'my calculator'
    price = 25
    def __init__(self,name,price,height,width,weight):
        self.name = name
        self.price = price
        self.h = height
        self.width = width
        self.weight = weight
    def add(self,x,y):
        print(self.name)
        print(x+y)
    def minus(self,x,y):
        print(x - y)
    def times(self,x,y):
        print(x * y)
    def divide(self,x,y):
        print( x / y)
# calc = Calculator()
# # print(calc.name)
# # print(calc.price)
# # calc.add(3,5)

calc = Calculator('mycalc',25,15,10,150)
print(calc.price)